package com.campusexpresspickup.vo;

import com.campusexpresspickup.entity.OauthRole;
import com.campusexpresspickup.entity.OauthUser;
import com.campusexpresspickup.entity.UserMenu;
import java.util.List;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class UserInfoVo {

  private OauthUser oauthUser;
  private List<UserMenu> userMenuList;
  private List<OauthRole> oauthRoleList;

  public UserInfoVo(OauthUser oauthUser, List<UserMenu> userMenuList,
      List<OauthRole> oauthRoleList) {
    this.oauthUser = oauthUser;
    this.userMenuList = userMenuList;
    this.oauthRoleList = oauthRoleList;
  }
}
